package cn.yunhe.dao;

import cn.yunhe.entity.Drugpeople;
import cn.yunhe.entity.DrugpeopleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DrugpeopleMapper {
    int countByExample(DrugpeopleExample example);

    int deleteByExample(DrugpeopleExample example);

    int deleteByPrimaryKey(Integer dId);

    int insert(Drugpeople record);

    int insertSelective(Drugpeople record);

    List<Drugpeople> selectByExample(DrugpeopleExample example);

    Drugpeople selectByPrimaryKey(Integer dId);

    int updateByExampleSelective(@Param("record") Drugpeople record, @Param("example") DrugpeopleExample example);

    int updateByExample(@Param("record") Drugpeople record, @Param("example") DrugpeopleExample example);

    int updateByPrimaryKeySelective(Drugpeople record);

    int updateByPrimaryKey(Drugpeople record);
}